# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>

pkgname=deepin-account-faces
pkgver=1.0.15
pkgrel=1
pkgdesc='Account faces for Linux Deepin'
arch=('any')
license=('GPL3')
url="https://github.com/linuxdeepin/dde-account-faces"
conflicts=('dde-account-faces')
replaces=('dde-account-faces')
groups=('deepin')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-account-faces/archive/$pkgver.tar.gz")
sha512sums=('72e7d8fb552ec8c6e54e4599162bfdd122a4e19469772454207dccb5fcee7a15da6d424708a4f4948e8613caa7a9e38d3653bd63c4cb7a15c2351ed700dd0215')

package() {
  cd dde-account-faces-$pkgver
  make DESTDIR="$pkgdir" install
  chmod 775 "$pkgdir"/var/lib/AccountsService/icons
}
